import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import request from './utils/request'
import moment from 'moment'
import 'amfe-flexible'
import '@/styles/base.less'
import '@/utils/vant'
import '@/Api/index'
Vue.config.productionTip = false
moment.locale('zh-cn')
Vue.filter('relvTime', val => {
  return moment(val).fromNow()
})
new Vue({
  moment,
  router,
  store,
  request,
  render: h => h(App)
}).$mount('#app')
